package com.evildog.workspace.system.application.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.evildog.workspace.dependencies.mybatis.object.QueryConditionDTO;
import com.evildog.workspace.system.application.bo.DictDataListBO;
import com.evildog.workspace.system.application.dto.DictDataDTO;
import com.evildog.workspace.system.application.dto.DictDataListDTO;
import com.evildog.workspace.system.application.entity.DictData;

import java.util.List;

/**
 * <p>
 * dictData Service
 * </p>
 *
 * @author evildog
 * @since 2020-08-06
 */
public interface DictDataService extends IService<DictData> {


    /**
    * 获取List
    */
    List<DictDataListBO> getList(List<QueryConditionDTO> queryCondition, DictDataListDTO dto);

    List<DictDataListBO> getValidList(Long dictTypeId);

    /**
    * 更新
    */
    boolean updateById(Long id, DictDataDTO param);

    /**
    * 保存
    */
    boolean save(DictDataDTO param);
}
